﻿using System;
using System.Reflection;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HarmonyLib;
using RimWorld;
using Verse;

namespace SuperMe
{
    internal class SuperMeDef
    {
        static SuperMeDef()
        {
            Harmony.DEBUG = false;
            
            //  
            //  or buffered:
            //  FileLog.LogBuffered("A");
            //  FileLog.LogBuffered("B");
            //  FileLog.FlushBuffer(); // don't forget to flush            
            //  TestAllPart();
        }
        public static void Log(string message)
        {
            Verse.Log.Message(SuperMeDef.PrefixMessage(message), false);
        }
        private static string PrefixMessage(string message)
        {
            return "[SuperMe v1.1.0] " + message;
        }        
    }
}
